import React from 'react';
import { Route } from 'react-router-dom';
import Doc from './Doc.js';

const Home = () => {
    return <div>Home</div>
}
const Blog = () => {
    return <div>Blog</div>
}

const Content = () => {
  return (
    <>
        <Route exact path="/"><Home /></Route>
        <Route path="/doc"><Doc /></Route>
        <Route path="/blog"><Blog /></Route>
    </>
  )
}

export default Content